package com.demo.common.exception;


import java.util.List;

/**
 * @version 1.0 Service层异常类
 */
public class ServiceException extends BaseException {

    public ServiceException(int errorCode, Object... args) {
        super(errorCode, args);
    }

    public ServiceException(Throwable cause, Object... args) {
        super(cause, args);
    }

    public ServiceException(int errorCode, String errorMsg, Object... args) {
        super(errorCode, errorMsg, args);
    }

    public ServiceException(Throwable cause, String errorMsg, Object... args) {
        super(cause, errorMsg, args);
    }

    public ServiceException(Throwable cause, String errorCode, String errorMsg, Object... args) {
        super(cause, errorCode, errorMsg, args);
    }

}
